wer_per_spk_details.pl reads utt2spk containing unicode#1149
wer_per_spk_details.pl reads utt2spk containing unicode#1149danpovey merged 1 commit intokaldi-asr:masterfrom
Conversation
|
So, if I understand, you have unicode characters in the utt2spk? On Fri, Oct 28, 2016 at 4:08 AM, 薛丞宏 notifications@github.com wrote:
|
|
Yes, some speaker names contain unicode chars. |
|
@danpovey I guess this is fine to commit -- I'd never assumed that spk labels would contain unicode. |
utils/scoring/wer_per_spk_details.pldeals withSTDIN,STDOUTand$ARGV[0], three I/Os.The origin script set
STDINadSTDOUTonly.So
$ARGV[0]should be set.The code
use open qw(:std :encoding(UTF-8));was copied from stackoverflow.PS: I found this problem because I got the warnings below: